package com.tuanzi.loan.business.entity.miniApps.articleLibrary;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;
import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;

import com.tuanzi.loan.business.validation.annotation.family.ProductInfoBusinessValidation;
import com.tuanzi.loan.core.entity.AuditEntity;

import lombok.Builder.Default;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Entity
@Table(name = "loan_mini_apps_article_url")
public class MiniAppsArticleUrl implements Serializable {

	private static final long serialVersionUID = 2538526217440717868L;

	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	@Column(name = "ARTICLE_ID")
	private Long articleId;
	
	@Column(name = "TYPE")
	private Integer type;
	
	@Column(name = "ORIGINAL_URL")
	private String originalUrl;
	
	@Column(name = "UPLOAD_URL")
	private String uploadUrl;
	

}
